<ng-include src="'app/stat/view/filter.html'"></ng-include>

<ul class="nav nav-tabs">
    <li class="active"><a href="javascript:void(0)" data-toggle="tab" data-target="#chart_panel">访问量图表</a></li>
    <li><a href="javascript:void(0)" data-toggle="tab" data-target="#list_panel">访问量列表</a></li>
</ul>

<div class="tab-content">
    <div class="tab-pane active" id="chart_panel">
        <div id="chart" class="stat_chart"></div>
    </div>
    <div class="tab-pane" id="list_panel">
        <div class="col-sm-6">
            <table class="table table-striped table-bordered table-hover">
                <tr>
                    <th>集合名称</th>
                    <th>访问量</th>
                    <th>百分比</th>
                </tr>
                <tr>
                    <td>All</td>
                    <td>{{totalVisit}}</td>
                    <td>100%</td>
                </tr>
                <tr ng-repeat="data in list">
                    <td>{{ data.name }}</td>
                    <td>{{ data.count }}</td>
                    <td>{{ data.percent }}%</td>
                </tr>
            </table>
        </div>
    </div>
</div>